import { createApp } from 'vue'
import './style.css'

import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'   //导入路由配置
import api from './plugins/api.js';

const app = createApp(App);



  

app.use(router);  // 使用路由
app.use(ElementPlus)
app.mount('#app');
app.config.globalProperties.$api=api;  //配置axios的全局引用